﻿using System;
using System.Collections.Generic;
using System.Linq;
using ESoft.Core.Data.Service;
using ESoft.Core.Interceptor;
using ESoft.Portal.Data.Domain;
using ESoft.Portal.Data.Domain.Entity;

namespace ESoft.Portal.Areas.SettingManager.Data.Service.Impl
{
    public class SettingService : ISettingService
    {
        private readonly IBaseService _baseService;

        public SettingService(IBaseService baseService)
        {
            _baseService = baseService;
        }
 
      
        public void SaveBasic(int showSales, string hotline, double exchangeRate, string shopId)
        {
            UOrgEntity org = this._baseService.QueryEntities<UOrgEntity>(x => x.OrgId == shopId).FirstOrDefault();
        }
    }
}
